.TH std::swap(std::packaged_task) 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::swap(std::packaged_task) \- std::swap(std::packaged_task)

.SH Synopsis
   template< class Function, class... Args >

   void swap( packaged_task<Function(Args...)> &lhs,             \fI(since C++11)\fP

              packaged_task<Function(Args...)> &rhs ) noexcept;

   Specializes the std::swap algorithm for std::packaged_task. Exchanges the state of
   lhs with that of rhs. Effectively calls lhs.swap(rhs).

.SH Parameters

   lhs, rhs - packaged tasks whose states to swap

.SH Return value

   \fI(none)\fP

.SH Example

    This section is incomplete
    Reason: no example

.SH See also

   swap swaps two task objects
        \fI(public member function)\fP

.SH Category:
     * Todo no example
